<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>peactiseList</title>
	<style type="text/css">
		html{
			width:100%;
			height:98%;
		}
		body{
			width:99%;
			height:90%;
			background-image: url("img/qq.jpg");
		}
		#tile{
			margin: 0px auto;
			margin-top:3%;
			font-size:50px;
			width:100%;
			height:20%;
			color: #cc3399;
		}
		#t{
			padding-top:5%;
			width:100%;
			
		}
	</style>
</head>
<body>
	<div id="tile"><center> <label>课后作业列表</label></center>  </div>
	<div id="t">
	<center>
	<table border="1">
		<tr>
			<td> <label> 作业名称 </label> </td>
			<td style="text-align:center;"> <label> 结束时间 </label> </td>
			<td> <label> 当前状态 </label> </td>
			<td> <label> 选择操作 </label> </td>
		</tr>
		
		<%
		String[] part = ((String)request.getAttribute("part")).split("\u0001");
		for(int i=0;i<part.length;i++){
			String[] s = part[i].split("\u0002");
			if(s.length<2) continue;
		%>
		<tr>
			<td> <label> <%=s[0] %> </label> </td>
			<td> <label> <%=s[1] %> </label> </td>
			<td> <label> <%=s[2] %> </label> </td>
			<td> <a href=<% out.print("showPractiseStuList.view?partName="+s[0]); %>> 点击进入 </a> </td>
		</tr>
		
		<% } %>
	</table>
	</center>
	</div>
</body>
</html>